
### 构造接口的请求方式,接口的地址

from autoTest_brtcApi_3.core.rest_client import RestClient

class UserApiUtils(RestClient):

    def reg_util(self,headers,**kwargs):
        res = self.excute_request("POST","/register",headers,**kwargs)
        return res

    def login_util(self,headers,**kwargs):
        res = self.excute_request("POST","/login",headers,**kwargs)
        return res

    def modifyUserNick_util(self,headers,**kwargs):
        res = self.excute_request("PUT","/modifyUserNick",headers,**kwargs)
        return res

### 实例化 UserApiUtils()
userApiUtil = UserApiUtils()
